<?php
/*
* @Description: 获取列表页标题
* @Autor: HuiSir<273250950@qq.com>
* @Date: 2024-05-16 15:12:07
* @LastEditTime: 2024-05-16 15:17:30
*/
if (is_category()):
    single_cat_title();
elseif (is_tag()):
    single_tag_title();
elseif (is_author()):
    the_post();
    printf(__('%s', 'theme_doubt') , '<span class="vcard">' . get_the_author() . '发表的所有文章</span>');
    rewind_posts();
elseif (is_day()):
    printf(__('%s', 'theme_doubt') , '<span>' . get_the_date('Y年n月d日') . '发表的所有文章</span>');
elseif (is_month()):
    printf(__('%s', 'theme_doubt') , '<span>' . get_the_date('Y年n月') . '发表的所有文章</span>');
elseif (is_year()):
    printf(__('%s', 'theme_doubt') , '<span>' . get_the_date('Y年') . '发表的所有文章</span>');
else:
    _e('Archives', 'theme_doubt');
endif;
?>